import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// import './registerServiceWorker'
import http from "./utils/fetch"

// 引入flexible 用于设置 rem 基准值  
import 'lib-flexible'

// 引入指令  自定义拖拽指令
import vDrag from './utils/drag'
Vue.directive('drag', vDrag)


Vue.config.productionTip = false
Vue.prototype.$http = http;

new Vue({
    router,
    store,
    render: h => h(App),
}).$mount('#app')
